c programming gate previous year question